package com.sc.nft.controller.request;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.enums.ProductTypeEnum;
import com.sc.nft.enums.task.ActivityTypeEnum;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
@Data
public class AllCategoriesRequest extends PageRequest {
    @ApiModelProperty("daoId")
    private Long daoId;

    @ApiModelProperty("分类Id")
    private Long categoryId;

    @ApiModelProperty("活动类型")
    private ActivityTypeEnum activityType;

    @ApiModelProperty("商品类型")
    private ProductTypeEnum productType;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("是否是小程序商品")
    private Boolean showMiniMall;

    @ApiModelProperty("排序 1:默认 2:最新 3:价格升 4:价格降序")
    private Integer sort;
}
